using System;
using System.Xml.Serialization;

namespace com.exceptionalsoftware.spacetime.KML
{
	[Serializable()]
    [XmlType(TypeName = "DocumentType")]
	public class Document : Container
	{
        public Document()
		{
            // Do nothing.
		}
       
        public Document(string name)
        {
            this.Name = name;
        }

        public Document(string name, string id)
        {
            this.Id = id;
            this.Name = name;
        }
        private SchemaType[] schemaField;

        [System.Xml.Serialization.XmlElementAttribute("Schema")]
        public SchemaType[] Schema
        {
            get
            {
                return this.schemaField;
            }
            set
            {
                this.schemaField = value;
            }
        }

        ///// <remarks/>
        //[System.Xml.Serialization.XmlElementAttribute("NetworkLink", typeof(NetworkLink))]
        //[System.Xml.Serialization.XmlElementAttribute("Placemark", typeof(Placemark))]
        //public Feature[] Items1
        //{
        //    get
        //    {
        //        return this.items1Field;
        //    }
        //    set
        //    {
        //        this.items1Field = value;
        //    }
        //}
    }
}